import { CustomEnum } from "@/enums";
import alipay from "@/assets/images/pay/alipay.png";
import wx from "@/assets/images/pay/wx.png";

export const TRANSACTION_TYPE_ENUM: CustomEnum<number> = {
  RECHARGE: {
    value: 1,
    label: "充值",
  },
  REFUND: {
    value: 2,
    label: "退费",
  },
};

export const ENTER_TYPE_ENUM: CustomEnum<number> = {
  MANUAL: {
    value: 1,
    label: "手动",
  },
  BANK_RECHARGE: {
    value: 2,
    label: "银行充值",
  },
};

export const RECHARGE_STATUS_ENUM: CustomEnum<number> = {
  INITIALIZED: {
    value: 0,
    label: "充值中",
  },
  SUCCESS: {
    value: 1,
    label: "成功",
  },
  FAILED: {
    value: 2,
    label: "失败",
  },
};

// 定义支付方式枚举
export const PAY_METHOD_ENUM: CustomEnum<number> = {
  WECHAT: {
    value: 2,
    label: "微信支付",
    icon: wx,
  },
};

// 定义发放状态枚举
export const DISTRIBUTION_STATUS_ENUM: CustomEnum<number> = {
  NOT_SENT: {
    value: 1,
    label: "未发放",
  },
  SENT: {
    value: 2,
    label: "已发放",
  },
};
